import request from '@/utils/request'
// 快捷菜单的配置列表
export function getMenuList(params) {
  return request({
    url: '/system/menu/list?menuType=' + params + '&visible=0',
    method: 'get'
  })
}
// 配置快捷菜单
export function saveSelfMenuConfig(data) {
  return request({
    url: '/system/menu/selfMenuConfig',
    method: 'post',
    params: data
  })
}
// 获取快捷菜单
export function getSelfRouters() {
  return request({
    url: '/system/menu/getSelfRouters',
    method: 'get'
  })
}
